import random


class Monster(object):
    def __init__(self, cs):
        monNames = ['哥布林', '皮皮虾', '蟑螂恶霸', '黑蚂蚁', '白蚂蚁', '流氓虫', '鼻涕虫', '毛毛虫', '蚯蚓', '四瞳灵狐',
                    '金虎鲨', '风暴美人鱼', '雷霆娜迦', '冰霜蛇妖', '死神螳螂', '九幽地冥蟒', '天妖凰族', '青鸾', '墨蛟', '烈焰马',
                    '血玉蜘蛛', '啼魂兽', '脂阳鸟', '狻猊兽', '青风牛', '雷鹏', '冰甲蟒', '冰凤', '阴芝', '马昊阳鸟',
                    '土甲龙', '游天鲲鹏', '离火麒麟', '罗睺', '黑凤', '金角巨兽', '炎星巨兽', '冰山巨兽', '雷龙皇', '金翅大鹏',
                    '剑齿虎', '毒龙', '鳞猿', '玉角蛇', '乌金猿', '龙鳞马', '地龙', '乌金蝉', '夜天狼', '火神鸦',
                    '寻宝鼠', '雪猿', '暗影妖狐', '影月魔狼', '暴猿王', '风魅', '银獠暴龙', '泰坦巨猿', '金翎秃鹫', '太虚古龙', '碧睛狂狮']
        if cs == 1:
            self.name = monNames[random.randint(0, 7)]
            self.atk = random.randint(4, 10)
            self.lif = random.randint(10, 20)
            self.exp = random.randint(20, 30)
        elif cs == 2:
            self.name = monNames[random.randint(11, 20)]
            self.atk = random.randint(40, 70)
            self.lif = random.randint(100, 200)
            self.exp = random.randint(200, 300)
        elif cs == 3:
            self.name = monNames[random.randint(21, 30)]
            self.atk = random.randint(400, 700)
            self.lif = random.randint(1000, 2000)
            self.exp = random.randint(2000, 3000)
        elif cs == 4:
            self.name = monNames[random.randint(31, 40)]
            self.atk = random.randint(4000, 7000)
            self.lif = random.randint(10000, 20000)
            self.exp = random.randint(20000, 30000)
        elif cs == 5:
            self.name = monNames[random.randint(41, 50)]
            self.atk = random.randint(40000, 70000)
            self.lif = random.randint(100000, 200000)
            self.exp = random.randint(200000, 300000)
        elif cs == 6:
            self.name = monNames[random.randint(51, 61)]
            self.atk = random.randint(400000, 700000)
            self.lif = random.randint(1000000, 2000000)
            self.exp = random.randint(2000000, 3000000)